/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistence;

import model.Zone;

/**
 *
 * @author Matthy & Jelle
 */
public class ZoneService extends AbstractService{

  @Override
  public boolean validate(Object o) {
    Zone z = (Zone)o;
    return !(z.getType().isEmpty() || z.getType() == null || z.getPrijs() == null || z.getPrijs() <= 0);
  }

}
